xenstore: modify add_change_node() parameter types
authorJuergen Gross <jgross@suse.com>
Mon, 5 Dec 2016 07:48:42 +0000 (08:48 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 5 Dec 2016 11:19:57 +0000 (11:19 +0000)
commit2a29eec174227123b3b814da39cf6c333323667a
treee1c62f4779fdfd77742dd732f2d6e4be4660c3c9
parent6860e56964920ed9829fe9604f65424435580e65
xenstore: modify add_change_node() parameter types

In order to prepare adding a generation count to each node modify
add_change_node() to take the connection pointer and a node pointer
instead of the transaction pointer and node name as parameters. This
requires moving the call of add_change_node() from do_rm() to
delete_node_single().

While at it correct the comment for the prototype: there is no
longjmp() involved.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
tools/xenstore/xenstored_core.c
tools/xenstore/xenstored_transaction.c
tools/xenstore/xenstored_transaction.h